package com.wm.service;

import com.github.pagehelper.PageInfo;
import com.wm.entity.RbacUser;

import java.util.List;

public interface UserService {
     RbacUser login(String account);

    void add(RbacUser user, int[] permIds);

    List<RbacUser> getAll();

    PageInfo<RbacUser> getByCondition(int pageNum, RbacUser rbacUser);
}
